In calculus, logarithmic differentiation or differentiation by taking logarithms is a method used to differentiate functions by employing the logarithmic derivative of a function ƒ,[1]
The technique is often performed in cases where it is easier to differentiate the logarithm of a function rather than the function itself. Logarithmic differentiation relies on the chain rule as well as properties of logarithms (in particular, the natural logarithm, or logarithmic to the base e) to transform products into sums and divisions into subtractions, and can also applied to functions raised to the power of variables or functions.[2][3] However, the principle can be implemented, at least in part, in the differentiation of almost all differentiable functions, providing that these functions are non-zero.
Contents |
For a function
logarithmic differentiation typically begins by taking the natural logarithm, or the logarithm to the base e, on both sides, remembering to take absolute values[4]
After implicit differentiation[5]
Multiplication by y is then done to eliminate 1/y and leave only dy/dx on the left:
The method is used because the properties of logarithms provide avenues to quickly simplify complicated functions to be differentiated.[6] These properties can be manipulated after the taking of natural logarithms on both sides and before the preliminary differentiation. The most commonly used logarithm laws:[3]
Using capital pi notation,
Application of natural logarithms results in (with capital sigma notation)
and after differentiation,
Rearrange to get the derivative of the original function,
A natural logarithm is applied to a product of two functions
to transform the product into a sum
Differentiate by applying the chain and the sum rules
and, after rearranging, get[7]
A natural logarithm is applied to a quotient of two functions
to transform the division into a subtraction
Differentiate by applying the chain and the sum rules
and, after rearranging, get
After multiplying out and using the common denominator formula the result is the same as if after applying the quotient rule directly to .
For a function of the form
The natural logarithm transforms the exponentiation into a product
Differentiate by applying the chain and the product rules
and, after rearranging, get
Calculus/More Differentiation Rules#Logarithmic differentiation at Wikibooks: see for textbook examples of logarithmic differentiation.: see for textbook examples of logarithmic differentiation.